package com.itheima.pattern.factory.factory_abstract;

import com.itheima.pattern.factory.factory_method.Coffee;
import com.itheima.pattern.factory.factory_method.LatteCoffee;

public class ItalyDessertFactory implements DessertFactory {

    @Override
    public Coffee createCoffee() {
        return new LatteCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new Trimisu();
    }
}
